<template name="afBasicSelect_semanticUI">
  <div class="fluid field">
    <select {{atts}}>
      {{#each this.items}}
        {{#if this.optgroup}}
          <optgroup label="{{this.optgroup}}">
            {{#each this.items}}
              <option {{afSelectOptionAtts}}>{{this.label}}</option>
            {{/each}}
          </optgroup>
        {{else}}
          <option {{afSelectOptionAtts}}>{{this.label}}</option>
        {{/if}}
      {{/each}}
    </select>
  </div>
</template>
